Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: add more platforms to Makefile #425

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

fitzthum
Copy link
Member

@fitzthum fitzthum commented Jan 2, 2024

Adds SNP, AZ-SNP-vTPM, and AZ-TDX-vTPM to the
top-level Makefile.

@mkulke can you double-check that I did the AZ features correctly?

Also changes the name of the offline_fs_kbc flag
to fs rather than test. See confidential-containers/confidential-containers#184 for reasoning behind this change.

@fitzthum fitzthum requested a review from sameo as a code owner January 2, 2024 21:07
Copy link
Member

@Xynnn007 Xynnn007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks. We also need to test this Makefile in future in real rootfs building script.

Copy link
Contributor

@mkulke mkulke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, should we have a target for the sample tee?

@fitzthum
Copy link
Member Author

fitzthum commented Jan 3, 2024

LGTM, should we have a target for the sample tee?

It is always build by default. We might want to have a flag for nothing else to be built. I'm not sure if we support that.

@fitzthum
Copy link
Member Author

fitzthum commented Jan 3, 2024

Ok, I will probably create another PR to enable building only the sample attester. Currently we don't quite have the option to do that. To be clear what we can do currently is build the AA with sample_kbc, but what we want is to build the cc_kbc withe the sample attester only.

@fitzthum fitzthum force-pushed the update-makefile branch 2 times, most recently from 46776bb to b8fc742 Compare January 3, 2024 22:27
@fitzthum
Copy link
Member Author

fitzthum commented Jan 3, 2024

Actually it was a 2-line fix, so I added it here. Now we can build only the cc_kbc with sample attester with make TEE_PLATFORM=none

Adds SNP, AZ-SNP-vTPM, and AZ-TDX-vTPM to the
top-level Makefile.

Also changes the name of the offline_fs_kbc flag
to fs rather than test.

Signed-off-by: Tobin Feldman-Fitzthum <[email protected]>
@fitzthum fitzthum merged commit bcec548 into confidential-containers:main Jan 5, 2024
3 checks passed
@fitzthum fitzthum mentioned this pull request Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants